using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace SU.DomainModel.Entity
{
    public partial class OrderTrailer
    {
        public string ID { get; set; }


        public string OrderID { get; set; }

        [Required(ErrorMessage = "*")]
        public string ContainerSealID { get; set; }

        public string TrailerNo { get; set; }
        public string Tel { get; set; }

        //[Required(ErrorMessage = "*")]
        public Nullable<System.DateTime> StartDate { get; set; }

        //[Required(ErrorMessage = "*")]
        public Nullable<System.DateTime> EndDate { get; set; }

        //[Required(ErrorMessage = "*")]
        public Nullable<System.DateTime> RealEndDate { get; set; }
    }

    public class OrderTrailerInfo
    {
        public string ID { get; set; }
        public string OrderID { get; set; }
        public string ContainerSealID { get; set; }
        public string ContainerNo { get; set; }
        public string SealNo { get; set; }
        public string TrailerNo { get; set; }
        public string Tel { get; set; }
        public Nullable<System.DateTime> StartDate { get; set; }
        public Nullable<System.DateTime> EndDate { get; set; }
        public Nullable<System.DateTime> RealEndDate { get; set; }
    }
}
